<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Connexion</title>
</head>
<body>
	<c:choose>
		<c:when test="${isOk == true}">
			<h2 class="ok">${ message }</h2>
		</c:when>
		<c:otherwise>
			<h2 class="error">${ message }</h2>
		</c:otherwise>
	</c:choose>
	<form action="/TP_Library/connexion/" method="post">
		<span>Pseudo </span> <input name="nom" required="true" type="text" />
		<br> <span>Password </span> <input name="password"
			required="true" type="password" /> <br>
			<input type="submit" value="Se connecter">
	</form>
</body>
</html>